﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CRMBiz;
using CRMWeb.Utilities.Context;


namespace CRMWeb.Pages
{
    public partial class Summary : CRMWeb.Utilities.BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                int cnt = 0;
                try
                {
                    cnt = SecurityHandler.GetTotalSecurity(Convert.ToInt32(Request.QueryString["LoanID"].ToString()));
                    pnlSecurity.Attributes["title"] = "Security(" + cnt + ")";
                    return;
                }
                catch (Exception ex)
                {
                    ErrorHandler.saveErrorLog(ex,CMSContext.CurrentUser.MemberName);
                }
            }
        }
    }
}